Skip to main content

Incoming WhatsApp Chat Event

By utilizing this event node, a new workflow instance is started whenever a user initiates a new chat or an existing chat is loaded to continue the user dialogue.

Usage​

Create an event node that triggers for a new incoming message, handle the messsage issued by the chat e.g. by processing whatsapp.message_recv and send an answer message.

Variables​

These values are automatically set when a new chat is started:

VariableDescription
whatsapp.phone_number_idThe ID that the event provides from incoming messages
whatsapp.message_recvThe received message
whatsapp.message_from_nameName of the message sender
whatsapp.recipient_phonePhone number of recipient
whatsapp.location_latitudeLocation data (latitude), optional
whatsapp.location_longitudeLocation data (longitude), optional
whatsapp.message_timestampTimestamp of the message

See also WhatsApp Chat for documentation on sending a whatsapp message.